package util;

public class Train {
        
        private Integer id;
        private Boolean gps_status;
        private String train_status;
        
        public Train()
        {
                
        }
        public Train(Integer id)
        {
                this.id = id;
                this.gps_status = false;
                train_status = "Stop";
        }
        
		public void ChangeTrainStatus(String status) //[Moving|Stop|Maintenance]
        {
                this.train_status = status;
        }

        public Integer getId() {
                return id;
        }

        public Boolean getGps() {
                return gps_status;
        }

        public String getStatus() {
                return train_status;
        }
        public Boolean getGps_status() {
                return gps_status;
        }
        public void setGps_status(Boolean gps_status) {
                this.gps_status = gps_status;
        }
        public String getTrain_status() {
                return train_status;
        }
        public void setTrain_status(String train_status) {
                this.train_status = train_status;
        }
        public void setId(Integer id) {
                this.id = id;
        }
        
        
        
}